<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
 <%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
	<link href="${pageContext.request.contextPath}/styles/global.css" rel="stylesheet" type="text/css" />
	<script src="${pageContext.request.contextPath}/scripts/jquery.js" type="text/javascript"></script>
	<script src="${pageContext.request.contextPath}/scripts/Globalinit.js" type="text/javascript"></script>
	<script src="${pageContext.request.contextPath}/scripts/jquery.transit.min.js" type="text/javascript"></script>
	<script src="${pageContext.request.contextPath}/scripts/shine.min.js" type="text/javascript"></script>
	<title>安徽大学联合培养网站-主页</title>
	<meta name="keywords" content="安徽大学联合培养网站-主页"/>
	<meta name="description" content="安徽大学联合培养网站-主页"/>
	<link rel="shortcut icon" type="image/x-icon" href="images/titleImg.ico" media="screen" />
    <link rel="Bookmark" href="images/titleImg.ico" />
</head>
<body>
<jsp:include page="head.jsp" flush="true"></jsp:include>
<div class="indexconn">
	<div style="height: 40px;"></div>
	<div class="wrap conn">
		<div class="connMain">
		<h2 class="breadcrumb"><span>您当前位置:<s:a action="indexAction_index">主页</s:a> &gt; <s:a action="indexAction_newsList">新闻</s:a> &gt; </span></h2>
		<h3 class="articltitle">新闻列表</h3>
		<div class="articlinfo"><span class="nm"></span> </div> 		
		 <div class="artMain">
		 <s:iterator value="recordList">
		 <div style='height:50px;line-height:50px;'>
		 	<div class='newsItem'><a href="indexAction_news.action?id=${id}">${title }</a>
		 		<font class='index_bigFount2'>[${time}]</font></div></div>
			</s:iterator>
		</div>
		<div align="left" style=" margin-bottom: 20px;position: relative;right:50px;">
		<div style="padding-left: 60px; float:left;font-size: 14px;">
			当前是第&nbsp;${currentPage }&nbsp;页，共&nbsp;${pageCount }&nbsp;页
		</div>
              		<div style="padding-left: 150px; float: right;">
					    <ul id="pagination-flickr">
					<li class='next'><a href='indexAction_news.action?pageNum=1'>首页&nbsp;&nbsp;</a></li>
					<s:if test="currentPage>1">
					<li class='next'><a href='indexAction_news.action?pageNum=${currentPage - 1 }'>上一页&laquo;&nbsp;&nbsp;</a></li>
					</s:if>
					<s:iterator begin="%{beginPageIndex}" end="%{endPageIndex}" var="num">
						<s:if test="currentPage==#num">
							<li class='next'>${num }&nbsp;&nbsp;</li>
						</s:if>
						<s:else>
							<li><a href="indexAction_news.action?pageNum=${num}">${num}&nbsp;&nbsp;</a></li>
						</s:else>
					</s:iterator>
					<s:if test="currentPage<pageCount">
					<li class='next'><a href='indexAction_news.action?pageNum=${currentPage + 1 }'>&nbsp;&nbsp;&laquo;下一页</a></li>&nbsp;&nbsp;
					</s:if>
					<li class='next'><a href='indexAction_news.action?pageNum=${pageCount}'>&nbsp;&nbsp;尾页</a></li>
		
					    </ul>
					    </div>
            </div>
		</div>
	</div>
	<div style="height: 40px;"></div>
	</div>
	<jsp:include page="foot.jsp" flush="true"></jsp:include>
</body>
</html>